package com.minglead.springboot.common.quartz;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
 * 
 * @author clz
 * @date 2018年5月17日
 */
@Service
@Transactional
public class SystemQuartz implements Job
{	
	
	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		try {		
			System.out.println("start...SystemQuartz-->execute()...");	
			System.out.println("end...SystemQuartz-->execute()...");
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}